#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication z(argc, argv);
    double a,b;
    cout<<"Vvedite a: ";
    cin>>a;
    cout<<"Vvedite b: ";
    cin>>b;
    cout<<"Summa: " <<a*a+b*b<<endl;
    cout<<"Raznost': " <<a*a-b*b<<endl;
    cout<<"Proizvedenie: "<<a*a*b*b<<endl;
    cout<<"Chastnoe: "<<a*a/b*b<<endl;
    return z.exec();
}
